vector space is finite-dimensional if it has a basis with only finitely many vectors
space Rn has a basis with n elements so is finite-dimensional
space of all polynomials has infinitely many dimensions will assume finite-dimensional spaces from here
Example of a infinite-dimensional space
The space of all polynomials has infinite dimensions because you can have a polynomial with as high of a degree as you want, with no limit
For any finite-dimensional space, all of its bases have the same number of elements
Proof
differs from textbook proof
take a vector space, choose one B=⟨β1,...,βn⟩ that has minimal size
a different basis D=⟨δ1,...,δn⟩ has to have at least n elements
We must show it cannot have more than n elements
Suppose D has an n+1th element and is linearly independent
Then the only solution to a1δ1+⋯+an+1δn+1=0 is all ai=0
Now, represent the vectors of D in terms of B RepB(δ1)=⎝⎜⎜⎛c1,1⋮cn,1⎠⎟⎟⎞⋯RepB(δn+1)=⎝⎜⎜⎛c1,n+1⋮cn,n+1⎠⎟⎟⎞
The linear relationship a1δ1+⋯+an+1δn+1=0 should still hold even after substituting the representation. This gives the linear system c1,1a1+⋯+c1,n+1an+1=0⋮cn,1a1+⋯+cn,n+1an+1=0
which has n+1 unknowns and n equations. This must have infinitely many solutions for (a1,...,an+1), but that contradicts the earlier statement that the solution that all ai=0, therefore, there must not be an n+1th element.
The dimension of a vector space is the number of vectors in any of its bases
In n-dimensional space, a set of n vectors is linearly independent iff they span the space
should be intuitive
Space and Rank
(rowcolumn)space is the span of the set of its (rowcolumn) (rowcolumn)rank is the dimension of the space, i.e. the number of linearly independent (rowcolumn)
If matrix A∼B by row operation, row spaces are equal
The rows in B are linear combinations of rows in A, so rows in B∈[A]
non-zero rows in a echelon form matrix are linearly independent →forms a basis Gauss's Method produces a basis for the row space of a matrix
solution exists iff constant column vector is in the column space of the coefficient matrix
Example 6.1
Consider this reduced echelon form matrix ⎝⎜⎛100010210130020⎠⎟⎞
The row space is the span of the first two rows: ⎩⎪⎪⎪⎪⎪⎨⎪⎪⎪⎪⎪⎧a⎝⎜⎜⎜⎜⎜⎛10210⎠⎟⎟⎟⎟⎟⎞+b⎝⎜⎜⎜⎜⎜⎛01132⎠⎟⎟⎟⎟⎟⎞∣∣∣∣∣∣∣∣∣∣∣a,b∈R⎭⎪⎪⎪⎪⎪⎬⎪⎪⎪⎪⎪⎫
Those two column vectors also form the basis
Example 6.2
Consider the linear system 2x+y=c1−x+3y=c2
This can be represented as
x⋅(2−1)+y⋅(13)=(c1c2)
This has a solution if (c1c2) is a linear combination of the two vectors, i.e. the constant column vector is in the column space of (2−113)
transpose of a matrix changes its rows and columns Aij=AjiT
The basis of the column space can be found by row reducing the transpose
Example 6.3
The basis for the colum space of the matrix (2−113)
can be found by taking the transpose (2−113)T=(21−13)
then row reducing (21−13)∼(103−7)
Then transpose back (103−7)T=(130−7)
The basis is B=⟨(13),(0−7)⟩
So the span is R2
For any matrix, row rank equals column rank
in reduced echelon form, row rank equals number of leading entries, which equals column rank
since theyre the same, its called the rank
For linear systems with n unknowns and coefficeint matrix A, the statements
the rank of A is r
the vector space of solutions of the associated homogeneous system has dimension n−r
are equivalent
Proof
(1) iff r leading variables, which is true iff there are n−r free variables → (2)
In an n×n matrix A, the statements
the rank of A is n
A is nonsingular
rows form a linearly independent set
columns form a linearly independent set
any linear system whose matrix of coefficients is A has exactly one solution
are equivalent
Review:
defined leading variable, leading entry (last column may contain leading variable in augmented matrix) → pivot
a system with 0=1 has a third leading entry but no second leading variable
pivots in linear system are same as pivots in augmented matrix that are not in the last column
defined echelon form as pivot goes right as you go down the rows
defined reduced row echelon form if it is in echelon form and each pivot is 1 and is the only non-zero entry in the column (must cancel up)
Three possibilities:
last column contains a pivot: inconsistent, no solutions
every column except the last contains a pivot: unique solution
the last column and some other column(s) does not contain a pivot: infinitely many solutions
defined homogeneous linear system as having augmented matrix (A∣0)
all echelon forms of (A∣0) are of type (B∣0)
always contains at least one solution (namely, (0,...,0))
column with no pivot → infinitely many solutions
defined linear independence in a vector space V as set of vectors which cannot make 0 with a linear combination, except if all constants were 0
linear independence can be checked when V=Rn by making a matrix with the columns as the vectors
corresponds to linear relation, must have unique solution (0s everywhere), so must have pivot in every column
vectors form a basis of Rn if the reduced echelon form of Mat(a1,...,an) is the n×n identity matrix Idn